package com.chaopei.myobj;

/**
 * @Author Corday 天涯
 * @Date 2022/3/4 10:47
 */

public abstract class Employee {
    int eid;
    String username;
    String gender;
    public Employee(){}

    public Employee(int eid, String username, String gender) {
        this.eid = eid;
        this.username = username;
        this.gender = gender;
    }

    public abstract String speak();

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
}
